import { getAction,postAction,  } from '@/api/manage'
const gateway = '/api/gateway'

const condition = (params) => postAction(gateway+'/jic-backend-pos/pos/theme/submission/condition', params) // 导购素材查询参数接口
const conditionList = (params) => postAction(gateway+'/jic-backend-pos/pos/theme/submission/list', params) // 导购素材审核列表
const countNum = (params) => postAction(gateway+'/jic-backend-pos/pos/theme/submission/count', params) // 导购素材审核数量
const examine = (params) => postAction(gateway+'/jic-backend-pos/pos/theme/approval/pass', params) // 导购素材审核驳回按钮/创建者确认信息
const conditionDetail = (params) => postAction(gateway+'/jic-backend-pos/pos/theme/approval/detail', params) // 导购素材审核详情
const verified = (params) => postAction(gateway+'/jic-backend-pos/pos/theme/verified/push/msg', params) // 导购素材审核消息推送

const matchlist = (params) => postAction(gateway+'/admin/fashioner/match/list', params) // 素材搭配列表
const matchDelete = (params) => postAction(gateway+'/admin/fashioner/match/delete', params) // 删除素材搭配
const goodsSkcDetail = (params) => postAction(gateway+'/admin/product/goodsSkcDetail', params) // 查询商品详情
const upOrDown = (params) => postAction(gateway+'/admin/fashioner/match/upOrDown', params) // 批量上/下架

export {
  condition,
  conditionList,
  countNum,
  examine,
  conditionDetail,
  verified,
  matchlist,
  matchDelete,
  goodsSkcDetail,
  upOrDown
}